bash.webm
You can get reverse shell with .sh file (in Linux)
You can get reverse shell with .py file in (Windows and Linux) (in windows, you need to install netcat)
You must specify the url
example: http://target.com/
-
using for .py:
python exploit.py -
using for .sh:
chmod +x exploit.sh
./exploit.sh
Author: Tabun
-
To use this vulnerability, we first need a powershell reverse shell. As you can see,
we converted it to "UTF-16LE" format with the iconv tool and parse it as hexadecimal with the xxd tool. -
We can take a long look at this with xxd, but we need the raw hex code,
so we converted it to "UTF-16LE" format again and we got raw hex codes using the hexdump tool. -
Finally, we converted the raw hex codes into our part of payload with base64 encode (xxd and base64 were used)
- Using ?search with %00, we specified the Powershell path,
entered the base64 code and break the system with netcat.